package com.etxxy.member.mapper;

import java.util.List;

import com.etxxy.common.exception.DataException;
import com.etxxy.member.domain.MemberRole;

public interface MemberRoleMapper {

	int deleteByPrimaryKey(String id) throws DataException;

	int insert(MemberRole record) throws DataException;

	MemberRole selectByPrimaryKey(String id) throws DataException;

	int updateByPrimaryKeySelective(MemberRole record) throws DataException;

	public List<String> getRoleValuesByMemberId(String memberId) throws DataException;
	
	public List<MemberRole> getRolesByMemberId(String memberId) throws  DataException;

}